<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class model_bang1 extends CI_Model
{
    //Toa constuctor
    public function __construct()
    {
        parent::__construct();
        
    }
    function getAll()
    {
       
       $q= $this->db->get('table1');
       return $q->result();
    }
    //put your code here
}
